<div class="pool_dashboard" ng-controller="MainController">
	<div class="menubar">
		<a href="javascript:void(0)" title="" class="logo"></a>
		<div class="left left-projectname clearfix">
			<h2 class="projectname">
				<input type="text" value="{{projectname}}">
			</h2>
			
		</div>
		<div class="right clearfix">
			<ul class="nav navbar-nav pull-right right-navbar-nav">
				<li class="dropdown">
					<a href="#" class="dropdown-toggle user-menu" data-toggle="dropdown" ng-bind-html="headerUserInfo">
						{{headerUserInfo}}
					</a>
					<ul class="dropdown-menu" style="right:0px;left:auto">
						<li><a href="#/profile" ><i class="dropdown-icon fa fa-cog icon-large icon-user"></i> Profile</a></li>
						<li><a href="#/setting"><i class="dropdown-icon fa fa-cog icon-large  icon-cog"></i> Settings</a></li>
						<li class="divider"></li>
						<li><a href="pages-signin.html"><i class="dropdown-icon fa icon-large fa-power-off icon-off"></i> Log Out</a></li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
	<div class="geToolbarContainer">
		
	</div>
	<div class="geSidebarContainer fileExist" ng-show="{{checkFile}}" >
	
	</div>
	<div class="geSidebarContainer notFile" ng-hide="{{checkFile}}">
	
		<div class="container btnUpload">
			<button ng-click="upload(1,2)" class="btn btnUploadButton btn-important ladda-button green-btn register" data-style="zoom-in">
			<span class="ladda-label">Click here to Upload Html and make the website.... &nbsp; </span></button>
		</div>
		<div class="container container-upload">
		
			<form id="fileupload" action="/dashboard/upload" method="POST" enctype="multipart/form-data">
				<div class="blockquate">
				
					<p class="">
						<h3>
						Create or open a project, why don't you.
						</h3>
					</p>
					<p class="">
						<h4>Currently, we not found the source on the Faster. You can upload an file and perfect works with any extensions (.zip...)</h4>
					</p>
				
				</div>
				
				<!-- Redirect browsers with JavaScript disabled to the origin page -->
				
				<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
				<div class="row fileupload-buttonbar">
					<div class="col-lg-7">
						<!-- The fileinput-button span is used to style the file input field as button -->
						<span class="btn btn-success fileinput-button">
							<i class="glyphicon glyphicon-plus"></i>
							<span>Add files...</span>
							<input type="file" name="files[]" multiple>
						</span>
						<button type="submit" class="btn btn-primary start">
							<i class="glyphicon glyphicon-upload"></i>
							<span>Start upload</span>
						</button>
						<button type="reset" class="btn btn-warning cancel">
							<i class="glyphicon glyphicon-ban-circle"></i>
							<span>Cancel upload</span>
						</button>
						<button type="button" class="btn btn-danger delete">
							<i class="glyphicon glyphicon-trash"></i>
							<span>Delete</span>
						</button>
						<input type="checkbox" class="toggle">
						<!-- The global file processing state -->
						<span class="fileupload-process"></span>
					</div>
					<!-- The global progress state -->
					<div class="col-lg-5 fileupload-progress fade">
						<!-- The global progress bar -->
						<div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100">
							<div class="progress-bar progress-bar-success" style="width:0%;"></div>
						</div>
						<!-- The extended global progress state -->
						<div class="progress-extended">&nbsp;</div>
					</div>
				</div>
				<!-- The table listing the files available for upload/download -->
				<table role="presentation" class="table table-striped"><tbody class="files"></tbody></table>
			</form>
			
		
		</div>
	</div>
	
	
	
	
	
	<div class="geFooterContainer">
		<div class="footer">
			<div class="footer-inner">
				<div class="footer-content">
					<span class="bigger-120">
						<span class="blue bolder">Faster</span>
						Application © 2013-2014
					</span>


				</div>
			</div>
		</div>
	</div>
	



</div>



<script>
$(function () {
'use strict';
// Change this to the location of your server-side upload handler:
var url = '/dashboard/upload',
    uploadButton = $('<button/>')
        .addClass('btn')
        .prop('disabled', true)
        .text('Processing...')
        .on('click', function () {
            var $this = $(this),
                data = $this.data();
            $this
                .off('click')
                .text('Abort')
                .on('click', function () {
                    $this.remove();
                    data.abort();
                });
            data.submit().always(function () {
                $this.remove();
            });
        });
$('#fileupload').fileupload({
    url: url,
    dataType: 'json',
    autoUpload: true,
    acceptFileTypes: /(\.|\/)(zip)$/i,
    maxFileSize: 50000000, // 50 MB
    // Enable image resizing, except for Android and Opera,
    // which actually support image resizing, but fail to
    // send Blob objects via XHR requests:
    disableImageResize: /Android(?!.*Chrome)|Opera/
        .test(window.navigator.userAgent),
    previewMaxWidth: 100,
    previewMaxHeight: 100,
    previewCrop: true
}).on('fileuploadadd', function (e, data) {
    console.log('fileuploadadd');
	console.log(e)
	console.log(data);
}).on('fileuploadprocessalways', function (e, data) {
    console.log('fileuploadprocessalways');
	console.log(e)
	console.log(data);
}).on('fileuploadprogressall', function (e, data) {
    console.log('fileuploadprogressall');
	console.log(e)
	console.log(data);
}).on('fileuploaddone', function (e, data) {
    console.log('fileuploaddone');
	console.log(e)
	console.log(data);
}).on('fileuploadfail', function (e, data) {
	console.log('fileuploadfail');
	console.log(e)
	console.log(data);
    
}).prop('disabled', !$.support.fileInput)
    .parent().addClass($.support.fileInput ? undefined : 'disabled');
});
</script>

